body, form { margin: 0px; padding: 0px; }

body {
  background-color: #F2F2F2;
  font-family: Verdana, Helvetica, Arial;
  font-size: 80%;
}

a:link {
	color: #333;
}

a:visited {
	color: #333;
}

a:hover {
	color: #333;
}

a:active {
	color: #333;
}

#wrap {
  position: relative;
  width: 780px;
  margin: 0 auto; /* center it on the page */
  padding: 0 10px; 
  text-align: left;
  background-color: #FFF;
  background-repeat: repeat-x;
  border: 1px #CFCFCF solid;
  padding: 10px 15px;
  _height: 600px; /* wrap-height for Internet Explorer */
}

#flash {
  margin: 10px 0;
}
.error {
  color: red;
}
.warning {
  color: yellow;
}
.notice {
  color: green;
}

#logo {
  padding: 0;
  margin: 0;
  margin-bottom: 12px;
}

#menu {
  float: right;
  text-align: right;
}

#breadcrumbs {
  margin: 12px 0px;
}

#search_form {
  float: right;
  margin: 4px 0px;
  font-size: 12px;
}
#search_form .text {
  font-size: 1.3em;
  font-weight: bold;
}

#logged_in_as {
  font-size: 10px;
  padding-top: 3px;
}

#info {
  background-color: #FFC;
  border: solid 1px #999;
  padding: 10px;
  margin-top: 20px;
  font-size: 11px;
}

#stats {
  margin-top: 10px;
}

/* LISTING */

table.list {
  border-collapse: collapse;
  width: 100%;
}

.list th {
  background: #8A0005;
  color: #FFF;
  padding: 3px 10px;
  border: solid 1px #333;
  text-align: left;
  font-size: 12px;
}

.list td {
	padding: 8px 10px;
  border: solid 1px #999;
	background-color: #FFC;
}


/* FOOTER */
#footer {
  color: #666666;
  margin: 1em 0em;
}
#footer ul.users {
  text-align: left;
  float: left;
  width: 220px;
  margin: 0px;
  padding: 6px;
  background-color: #F9F9F7;
  border: 1px solid #EAE8EA;
}
#footer ul.users li {
  display: inline;
  margin: 0px;
  padding: 0px;
  list-style: none;
}
#footer ul.users h2 {
  margin: 2px 0px;
  font-size: 1em;
  font-weight: normal;
}
#footer .powered {
  float: right;
}


/* FORUMS */

.forums .name {
  font-size: 16px;
}

.forums .description {
  font-size: 12px;
  padding: 3px 0;
}

.category td {
  padding: 2px;
  padding-top: 8px;
  background: #f2c791;
}

.category .name {
  font-weight: bold;
  text-decoration: none;
}


/* TOPICS */

tr.topic .name {
  font-size: 14px;
}

.topic .sticky, .topic .locked {
  font-weight: bold;
  font-size: 11px;
}


/* POSTS */

.posts {
  margin: 20px 0;
}

.post {
  border-top: solid 2px #8A0005;
  background-color: #EEE;
  margin-bottom: 20px;
}

.post .content {
  line-height: 20px;
}

.post .author {
  float: left;
  padding: 12px;
  width: 20%;
  font-size: 11px;
}

.post .author .name {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 3px;
}

.post .author .post_count {
  margin-bottom: 3px;
}

.post .updated_at {
  font-size: 10px;
  color: #777; /* gotta void 666 ;) */
  float: left;
  font-style: italic;
}

.post .content {
  margin-left: 23%;
  border-left: dotted 1px #999;
  padding: 2px 20px;
  padding-bottom: 10px;
  background-color: #FFC;
}

.post .actions {
  padding: 0px;;
  text-align: right;
}

.post blockquote {
  background-color: #FFFDEB;
  padding: 5px;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
  border-right: 1px solid #E4E4E4;
  border-bottom: 1px solid #E4E4E4;
}

.post .CodeRay {
  padding-top: 5px;
  padding-bottom: 5px;
  overflow: auto;
}
  
/* FORMS */

textarea {
  border: 1px #CFCFCF solid;
  background-color: #F2F2F2;
  line-height: 150%;
  height: 135px;
  width: 500px;
  padding: 5px;
}

input {
  border: 1px #CFCFCF solid;
  background-color: #F2F2F2;
  padding: 3px;
}

#quickreply {
  text-align: center;
}


/* OTHER */

.actions {
  color: #333;
  font-size: 10px;
  padding-left: 5px;
}

.button {
  width: 118px;
  height: 26px;
  padding-top: 8px;
  margin-top: 8px;
  background-image: url(../images/button.gif);
  text-align: center;
}

.button a {
  text-decoration: none;
}

.clear {
  clear: both;
}


/*******************************************
    ERROR HANDLING IN FORMS
    TEMPORARY!  This is just to help us see errors
*******************************************/
.fieldWithErrors {
  display: inline;
  padding: 0px;
  background-color: #CF0000;
}
.fieldWithErrors input, .fieldWithErrors select, .fieldWithErrors textarea {
  background-color: #CF0000;
  color:#FFF;
}

#errorExplanation {
  width: 400px;
  border: 2px solid #CF0000;
  padding: 0px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  background-color: #f0f0f0;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: 0px;
  background-color: #c00;
  color: #fff;
}
#errorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 8px;
}
#errorExplanation ul {
  margin: 2px 24px;
}
#errorExplanation ul li {
  font-size: 12px;
  list-style: disc;
}


/* Pagination *****************/

div.pagination {
  margin-top: 5px;
  text-align: right;
}

div.pagination a {
  border: 1px solid #8A0005;
  text-decoration: none;
  padding: 0px 3px 1px 3px;
  background: #FFC;
}

div.pagination a.page_link_selected {
  background: #8A0005;
  color: #FFF;
}

div.pagination a:hover {
  border-color: #CCC;
}

span.pagination {
  margin-top: 5px;
  text-align: right;
  font-size: 8pt;
}

span.pagination a {
  border: 1px solid #8A0005;
  text-decoration: none;
  padding: 0px 2px 1px 2px;
  background: #FFF;
}

